package bridge;

/**
 * @author zenghy
 **/
public class CircleShape extends AbstractShape {

    private final int radius, x, y;

    protected CircleShape(IDraw draw, int radius, int x, int y) {
        super(draw);
        this.radius = radius;
        this.x = x;
        this.y = y;
    }

    public void draw() {
        draw.drawCircle(radius, x, y);
    }
}
